package com.xm.event;

import lombok.Getter;

import java.util.EventObject;

/**
 * 一个简单的事件类
 */
@Getter
public class MyEvent extends EventObject {
    private final String message;

    public MyEvent(Object source, String message) {
        super(source);
        this.message = message;
    }

}